package com.zhangzhan.gulimallorder.feign;

import com.zhangzhan.gulimallorder.tos.SpuInfoTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/7/1 9:52
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @RequestMapping(value = "/gulimallproduct/spuinfo/listBySkuId",method = RequestMethod.GET)
    //@RequiresPermissions("gulimallproduct:spuinfo:list")
    public SpuInfoTo listBySkuId(@RequestParam("listBySkuId") Long skuId);

}
